<template>
  <ul class="loading">
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
  </ul>
</template>
<style scoped lang="less">
.loading {
  display: flex;
  justify-content: center;
  li {
    width: 5px;
    height: 30px;
    background: var(--cy-Color);
    margin-left: 5px;
    transform-origin: bottom;
    border-radius: 20px;
    animation: loadjump 1s linear infinite;
    &:first-child {
      animation-delay: 0s;
    }
    &:nth-child(2) {
      animation-delay: 0.2s;
    }
    &:nth-child(3) {
      animation-delay: 0.4s;
    }
    &:nth-child(4) {
      animation-delay: 0.6s;
    }
    &:nth-child(5) {
      animation-delay: 0.8s;
    }
  }
  @keyframes loadjump {
    0% {
      transform: scaleY(1);
    }
    50% {
      transform: scaleY(0.5);
    }
    100% {
      transform: scaleY(1);
    }
  }
}
</style>